package ro.myApp.security.service.role;

import javax.annotation.PostConstruct;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;

import ro.myApp.security.entities.Role;
import ro.myApp.security.service.basic.SecurityAccessService;

@Remote(value=RoleAccessService.class)
@Local(value=RoleAccessServiceLocal.class)
@Stateless
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public class RoleAccessServiceImpl 
	extends SecurityAccessService<Role>
	implements RoleAccessService{

	@Override
	@PostConstruct
	protected void init(){
		clazz = Role.class;
	}
}
